home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- VERSION = '1.11'
-
- def setup_gettext():
- '''Set up gettext for a module.
-
- Return a method to be used for looking up translations. Usage:
-
- import computerjanitor
- _ = computerjanitor.setup_gettext()
-
- '''
- import gettext
- import os
- domain = 'update-manager'
- localedir = os.environ.get('LOCPATH', None)
- t = gettext.translation(domain, localedir = localedir, fallback = True)
- return t.ugettext
-
- from cruft import Cruft
- from file_cruft import FileCruft
- from package_cruft import PackageCruft
- from missing_package_cruft import MissingPackageCruft
- from exc import ComputerJanitorException as Exception, UnimplementedMethod
- from plugin import Plugin, PluginManager
- import warnings
- warnings.filterwarnings('ignore', 'apt API not stable yet', FutureWarning)
- import apt
-